#ifndef ITEMMENUACTION_H
#define ITEMMENUACTION_H
#include <QMouseEvent>
#include <QAction>
#include <iostream>
using namespace std;
class ItemMenuAction : public QAction
{
    Q_OBJECT
public:
    explicit ItemMenuAction(QObject *parent = 0);
    ItemMenuAction(const QString &text, QObject *parent): QAction(text, parent)
    { }
    //    connect(this,SIGNAL(changed()),this,SLOT(showDialog()));}
    ItemMenuAction(const QIcon &icon, const QString &text, QObject *parent);
signals:
    //     void clicked();
public slots:
    //     void showDialog();
protected:
    //    void mousePressEvent(QMouseEvent *ev);
};
#endif // ITEMMENUACTION_H
